System Configuration : Preferences : Editing Preferences : Levels of Undo

Levels of Undo
This preference sets the maximum number of actions that can be undone with the multiple undo feature. Setting this to a lower number can speed up the performance of slower computers. Pro Tools supports up to 32 levels of Undo.